from scrapy import cmdline

guangzhou = ['scrapy', 'crawl', 'guangzhou_spider']
shenzhen = ['scrapy', 'crawl', 'shenzhen_spider']

all_spider = dict(shenzhen=shenzhen, guangzhou=guangzhou)
for k,v in all_spider.items():
    cmdline.execute(v)
